home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / db_pcb.zip / BRIDGE.BAT < prev    next >
DOS Batch File  |  1992-01-21  |  1KB  |  45 lines

  1. @echo off
  2. rem  BRIDGE.BAT
  3. rem  Main Batch file to run D'Bridge.
  4. rem  Place this batch file in your D'Bridge \db sub-directory.
  5. cls
  6. echo                   ╒═══════════════════════════════════════╕
  7. echo                   │         D'Bridge Continuous Mail      
  8. echo                   │          Batch File Processor         
  9. echo                   ╘═══════════════════════════════════════╛
  10. echo:
  11. rem:  ** Change drive and path if yours is different. **
  12. c:
  13. cd \db
  14.  
  15. :START
  16.  
  17. db
  18.  
  19.   If ErrorLevel 100 Goto LOCAL    rem LOCAL SYSOP to PCBoard
  20.   If ErrorLevel  99 Goto PCBSM    rem Go Directly to PCB System Mgr.
  21.   If ErrorLevel  90 Goto REMOTE   rem Run Node 1
  22.   If ErrorLevel   7 Goto END      rem End D'Bridge & return to DOS
  23.   If ErrorLevel   0 Goto END      rem DOS exit from D'Bridge
  24.  
  25. :REMOTE
  26. rem  ** Change drive and path if yours is different. **
  27. c:
  28. cd \pcb\b1
  29. Board
  30.  
  31. :LOCAL
  32. c:
  33. cd \pcb\b1
  34. echo pcb145 /LOCALON > c:\pcb\b1\pcbbat.bat
  35. Board
  36.  
  37. :PCBSM
  38. c:
  39. cd \pcb\b1
  40. pcbsm
  41. bridge
  42.  
  43. :END
  44. Exit
  45.